package com.edu.exam.enums.examination.paper;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 分割评估方法枚举
 */
public enum SegmentationEvaluationMethod implements BaseEnum {
    PIXEL_ACCURACY("PIXEL_ACCURACY", "像素精度"),
    MEAN_IOU("MEAN_IOU", "平均交并比"),
    DICE_COEFFICIENT("DICE_COEFFICIENT", "Dice系数"),
    F1_SCORE("F1_SCORE", "F1分数"),
    PRECISION("PRECISION", "精确率"),
    RECALL("RECALL", "召回率"),
    BOUNDARY_F1("BOUNDARY_F1", "边界F1"),
    AREA_UNDER_CURVE("AREA_UNDER_CURVE", "曲线下面积"),
    TPR_FPR("TPR_FPR", "真正例率假正例率"),
    SPECIFICITY("SPECIFICITY", "特异性"),
    SENSITIVITY("SENSITIVITY", "敏感性"),
    OVERLAP("OVERLAP", "重叠度"),
   hausdorff_distance("HAUSDORFF_DISTANCE", "Hausdorff距离"),
    ASSD("ASSD", "平均对称表面距离"),
    MSD("MSD", "最大表面距离"),
    VOLUME_SIMILARITY("VOLUME_SIMILARITY", "体积相似性"),
    RAND_INDEX("RAND_INDEX", "兰德指数"),
    ADJUSTED_RAND_INDEX("ADJUSTED_RAND_INDEX", "调整兰德指数"),
    MUTUAL_INFORMATION("MUTUAL_INFORMATION", "互信息"),
    VARIATION_OF_INFORMATION("VARIATION_OF_INFORMATION", "变化信息"),
    GLOBAL_CONSISTENCY_ERROR("GLOBAL_CONSISTENCY_ERROR", "全局一致性误差"),
    CREEPS("CREEPS", "Creeps指标");

    private final String code;
    private final String description;

    SegmentationEvaluationMethod(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
